<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
<script src="js/uploadPreview.js" type="text/javascript"></script>
<script>
	window.onload = function() {
		new uploadPreview({
			UpBtn : "up_img",
			DivShow : "imgdiv",
			ImgShow : "imgShow"
		});
	}
	var flag='${(flag)!''}';
	if(flag=="true"){
		alert("个人信息修改成功");
	}
</script>
</head>

<body>
	<div class="panel admin-panel margin-top" id="add"
		style="display: block;">
		<div class="panel-head" id="panel-head">
			<strong><span class="icon-pencil-square-o"></span> ${(person.person_name)}信息</strong>

		</div>
		<div class="body-content">
			<form method="post" class="form-x"
				action="${contextPath}/admin/updatePerson" >
				
				<div class="form-group">
					<div class="label">
						<label>姓名：</label>
					</div>
					<div class="field">
						<input id="name" type="text" class="input w50" disabled="disabled"
							value="${(person.person_name)!''}" name="hospitalPerson.person_name"
							data-validate="required:请输入姓名" />
							<input id="id" type="hidden" class="input w50"
							value="${(person.person_id)!''}" name="hospitalPerson.person_id"
							data-validate="required:用户id" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>工号：</label>
					</div>
					<div class="field">
						<input id="style" type="text" class="input w50" disabled="disabled"
							name="hospitalPerson.code" value="${(person.code)!''}"
							data-validate="required:请输入工号" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>职称：</label>
					</div>
					<div class="field">
						<select style="margin-top: 9px;"
							name="hospitalPerson.person_title" disabled="disabled">
							<option value="${(person.person_title)!''}" selected="selected">${(person.person_title)!''}</option>
							<option value="助理医师">助理医师</option>
							<option value="医师" >医师</option>
							<option value="住院医师">住院医师</option>
							<option value="主治医生">主治医生</option>
							<option value="副主任医师">副主任医师</option>
							<option value="主任医师">主任医师</option>
						</select>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>科室：</label>
					</div>
					<div class="field">
						<select style="margin-top: 9px;" name="hospitalPerson.department" disabled="disabled">
							<option value="骨科">骨科</option>
						</select>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>任职状态：</label>
					</div>
					<div class="field">
						<select style="margin-top: 9px;" name="hospitalPerson.state">
							<option value="${(person.state)!''}" selected="selected">${(person.CNstate)!''}</option>
							<option value="1" >上班</option>
							<option value="2">出差</option>
						</select>
						<div class="tips"></div>
					</div>
				</div>
				

				<div class="form-group">
					<div class="label">
						<label>简介：</label>
					</div>
					<div class="field">
						<textarea id="say" type="text" class="input"
							name="hospitalPerson.profile" style="height: 120px;">${(person.profile)!''}</textarea>
						<div class="tips"></div>
					</div>
				</div>

				<div class="form-group">
					<div class="label">
						<label></label>
					</div>

					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit"
							id="submit">提交</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>